import { http } from '@/request/index.js'

export function list(data) {
	return http.post('/Userwarehouse/list', data)
}

export function gettotal(data) {
	return http.post('/Userwarehouse/gettotal', data)
}

export function getaddress(data) {
	return http.post('/personalcenter/getaddress', data)
}

export function verifyaddress(data) {
	return http.post('/Userwarehouse/verifyaddress', data)
}

export function exchangemoney(data) {
	return http.post('/Userwarehouse/exchangemoney', data)
}

export function exchangemoneyall(data) {
	return http.post('/Userwarehouse/exchangemoneyall', data)
}

export function shippingdetails(data) {
	return http.post('/userwarehouse/shippingdetails', data)
}

export function confirmReceipt(data) {
	return http.post('/userwarehouse/confirm_receipt', data)
}
